package com.rfsp.mcp.pojo.vo;



import org.apache.commons.lang.StringUtils;

import com.rfsp.mcp.enums.McpConst;
import com.rfsp.mcp.pojo.po.OrgYbjPO;

/**
 * @Auther: zhangchunjiang
 * @Date: 2023/8/10 15:51
 * @Description:
 */
public class HospitalPdfVO2 extends OrgYbjPO{
	
	//如果是资金方1，就是不展示银行账号，开户银行
	private String orgCatalog;


    /***********************注册基本信息***************************************/
    /** 生成时间 **/
    private String date;

    /** 机构名称 **/
    private String orgName;

    /** 统一社会信用代码 **/
    private String orgCode;

    /** 法定代表人/负责人姓名 **/
    private String corporation;

    /** 企业类型 **/
    private String enterpriseType;

    /** 住所 **/
    private String orgAddress;
    
    /** 更新时间 **/
    private String ybjDate;
    
    /** 地址 **/
    private String ybjAddress;
    
    private String ybjOrgName;
    
    private String ybjOrgCode;
    
    private String validSd;
    
    private String validEd;
    
    private String validFlagShow;
    
    private String ybjOrgType;
    
    private String ybjOrgClass;
    
    private String ybjBizArea;
    
    /** 法定代表人 **/
    private String comName;
    

	public String getOrgCatalog() {
		return orgCatalog;
	}

	public void setOrgCatalog(String orgCatalog) {
		this.orgCatalog = orgCatalog;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public String getOrgCode() {
		return orgCode;
	}

	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}

	public String getCorporation() {
		return corporation;
	}

	public void setCorporation(String corporation) {
		this.corporation = corporation;
	}

	public String getEnterpriseType() {
		return enterpriseType;
	}

	public void setEnterpriseType(String enterpriseType) {
		this.enterpriseType = enterpriseType;
	}

	public String getOrgAddress() {
		return orgAddress;
	}

	public void setOrgAddress(String orgAddress) {
		this.orgAddress = orgAddress;
	}

	public String getYbjDate() {
		return ybjDate;
	}

	public void setYbjDate(String ybjDate) {
		this.ybjDate = ybjDate;
	}

	public String getYbjAddress() {
		return ybjAddress;
	}

	public void setYbjAddress(String ybjAddress) {
		this.ybjAddress = ybjAddress;
	}

	public String getYbjOrgName() {
		return ybjOrgName;
	}

	public void setYbjOrgName(String ybjOrgName) {
		this.ybjOrgName = ybjOrgName;
	}

	public String getYbjOrgCode() {
		return ybjOrgCode;
	}

	public void setYbjOrgCode(String ybjOrgCode) {
		this.ybjOrgCode = ybjOrgCode;
	}

	public String getComName() {
		return comName;
	}

	public void setComName(String comName) {
		this.comName = comName;
	}

	public String getValidSd() {
		return validSd;
	}

	public void setValidSd(String validSd) {
		this.validSd = validSd;
	}

	public String getValidEd() {
		return validEd;
	}

	public void setValidEd(String validEd) {
		this.validEd = validEd;
	}

	public String getValidFlagShow() {
		if("1".equals(this.getValidFlag())) {
			return "有效";
		} else if("0".equals(this.getValidFlag())) {
			return "无效";
		} else {
			return this.getValidFlag();
		}
	}

	public String getYbjOrgType() {
		if(StringUtils.isBlank(this.getOrgType())) {
			return "";
		}
		String val = McpConst.YbjOrgTypeDict.getVal(this.getOrgType());
		if(StringUtils.isNotBlank(val)) {
			return val;
		}else {
			return this.getOrgType();
		}
	}

	public String getYbjOrgClass() {
		if(StringUtils.isBlank(this.getOrgClass())) {
			return "";
		}
		String val = McpConst.YbjOrgClassDict.getVal(this.getOrgClass());
		if(StringUtils.isNotBlank(val)) {
			return val;
		}else {
			return this.getOrgClass();
		}
	}

	public String getYbjBizArea() {
		if(StringUtils.isEmpty(this.getOrgClass())) {
			return "";
		}
		return McpConst.YbjBizAreaDict.getVal(this.getBizArea());
	}
	
    
    
    
}
